package com.mzlalal.donate.dao;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @description: 首页数据加载
 * @author: Mzlalal
 * @date: 2019/12/27 15:30
 * @version: 1.0
 */
public interface IndexMapper {

    /**
     * 获取总金额
     * @return
     */
    BigDecimal getTotalAmount();

    /**
     * 获取最近七天捐款
     * @return
     */
    List<Map<String, Object>> getRecentSevenDonate();
}
